from opc_client import OpcClient


if __name__ == '__main__':
    """核能发电"""
    sub_ids = (
        'ns=1;s=t|pressure',
        'ns=1;s=t|run',
        'ns=1;s=t|start',
        'ns=1;s=t|stop',
        'ns=1;s=t|temperature',
        'ns=1;s=t|voltage',
    )
    ip = '192.168.2.33'
    port = 4862
    OpcClient(ip, port, sub_ids)
